package com.open.capacity.workflow.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 作者 ftquan 464725602@qq.com
 * @version 创建时间：2017年11月12日 上午22:57:51
 *  流程实例
 */
@Data
public class WFProcessinstance implements Serializable {

	private static final long serialVersionUID = 4497149010220586111L;

	private String id;
	private String code;
	private String parentId;
	private String companyId;
	private String departmentId;
	private String departmentName;
	private String schemeId;
	private String schemeCode;
	private String schemeName;
	private String processName;
	private Integer processLevel;
	private Integer isFinished;
	private Integer isAgain;
	private Integer status;
	private Integer isChildflow;
	private String description;
	private String createUserid;
	private String createUsername;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date createTime;

	@TableField(exist = false)
	private String taskName;
	@TableField(exist = false)
	private String taskId;
	@TableField(exist = false)
	private Integer taskType;
	@TableField(exist = false)
	private Integer isStart;

	@TableField(exist = false)
	private Integer canRevoke;

	@TableField(exist = false)
	private Integer hasReject;
}
